package com.fandou.airobot.domain.request;

import androidx.lifecycle.LiveData;

import com.fandou.airobot.data.bean.HomeItem;
import com.fandou.airobot.database.Record;

import java.util.List;

public class Request {
    public interface IHomeItemRequest {
        LiveData<List<HomeItem>> getHomeItemLiveData();
        void requestHomeItem();

    }

    public interface IRecordingPeriodRequest {
        LiveData<Integer> getRecordingPeriodLiveData();
        void requestRecordingPeriod();
        void saveRecordingPeriod(int time);


    }

    public interface IRecordHistoryRequest{

        LiveData<List<Record>> getRecordingHistoryLiveData();

        void requestRecordingHistory();
    }
}
